<?php session_start(); 
if($_SESSION['ID'] != null){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/index.css" rel="stylesheet" type="text/css" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<title>GPS上傳</title>
</head>

<body>
<p>&nbsp;</p>
<p align="left">建立你的軌跡專案</p>
<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="proj_receive.php">
<label> 
主題:<input name="titletxt" type="text" id="titletxt" /><br />
<br />
GPS檔案上傳:<input type="file" name="file" />
</label>
<label><br /><br />內容描述:<textarea name="contxt" id="contxt"></textarea><br /></label>
<p><input name="sendbtn" type="submit" id="sendbtn" value="送出" /></p>

</form>

</body>

<?php }else{
      header("Location:"."Login.htm");
}
?>
</html>
